namespace Crux.Core.LangChain.Abstractions.Splitters.Code;
/// <summary>
/// 
/// </summary>
public interface ICodeSplitter
{

    /// <summary>
    /// 
    /// </summary>
    /// <param name="content"></param>
    /// <param name="cancellationToken"></param>
    /// <returns></returns>
    public Task<IReadOnlyCollection<CodePart>> SplitAsync(
        string content,
        CancellationToken cancellationToken = default);
}